Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution studio.extensions.easyshare--filters

This contribution is part of XML component studio.extensions.easyshare inside nuxeo-easyshare-8.10.jar /OSGI-INF/extensions.xml

Extension Point

Extension point filters of component ActionService.

Contributed Items

  • <filter append="true" id="create">
          <rule grant="true">
            <permission>AddChildren</permission>
            <type>EasyShareFolder</type>
            <condition>!document.isImmutable()</condition>
            <condition>#{typeManager.getAllowedSubTypes(document.getType(), document).size() &gt; 0}</condition>
          </rule>
        </filter>
  • <filter id="denyForEasyShareFolder">
          <rule grant="false">
            <type>EasyShareFolder</type>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">
    <filter append="true" id="create">
      <rule grant="true">
        <permission>AddChildren</permission>
        <type>EasyShareFolder</type>
        <condition>!document.isImmutable()</condition>
        <condition>#{typeManager.getAllowedSubTypes(document.getType(), document).size() &gt; 0}</condition>
      </rule>
    </filter>
    <filter id="denyForEasyShareFolder">
      <rule grant="false">
        <type>EasyShareFolder</type>
      </rule>
    </filter>

  </extension>